package com.mybatisplus.demo.android.rep;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @lil
 * @创建时间 2020/1/13 14:13
 * @描述
 */
@Data
@ApiModel(value = "注册请求参数", description = "RegisterRep")
public class RegisterRep {

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(name = "user_id", notes = "用户手机号", dataType = "String", required = true)
    private String user_id;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(name = "password", notes = "用户密码", dataType = "String", required = true)
    private String password;
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(name = "code", notes = "验证码", dataType = "String", required = true)
    private String code;


}
